projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
812256d
)
xend: remove spurious pci_len from getDeviceSxprs
author
Keir Fraser
<keir.fraser@citrix.com>
Wed, 20 May 2009 14:13:36 +0000
(15:13 +0100)
committer
Keir Fraser
<keir.fraser@citrix.com>
Wed, 20 May 2009 14:13:36 +0000
(15:13 +0100)
Cc: Zhai Edwin <edwin.zhai@intel.com>
Cc: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
Cc: Dexuan Cui <dexuan.cui@intel.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
tools/python/xen/xend/XendDomainInfo.py
patch
|
blob
|
history
diff --git
a/tools/python/xen/xend/XendDomainInfo.py
b/tools/python/xen/xend/XendDomainInfo.py
index 7723a355a5b43bf957354eb070ec5dcedfdfcaf1..e54ee713dd8ac45be5bfd5fb78c4d17ab9fe7bce 100644
(file)
--- a/
tools/python/xen/xend/XendDomainInfo.py
+++ b/
tools/python/xen/xend/XendDomainInfo.py
@@
-1235,7
+1235,6
@@
class XendDomainInfo:
return []
dev_uuid = sxp.child_value(dev_info, 'uuid')
pci_devs = self.info['devices'][dev_uuid][1]['devs']
- pci_len = len(pci_devs)
return pci_devs
if self._stateGet() in (DOM_STATE_RUNNING, DOM_STATE_PAUSED, DOM_STATE_CRASHED):
return self.getDeviceController(deviceClass).sxprs()